package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.sys.modular.system.entity.BtyArchives;
import cn.stylefeng.guns.sys.modular.system.entity.BtyWage;
import cn.stylefeng.guns.sys.modular.system.mapper.BtyWageMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 通知表 服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2018-12-07
 */
@Service
public class BtyWageService extends ServiceImpl<BtyWageMapper, BtyWage> {
    /**
     * 获取通知列表
     *
     * @author fengshuonan
     * @Date 2018/12/23 6:05 PM
     */

    public Page<Map<String, Object>> list(String condition,String dm,String tel,String month,String status,String username,String ddName,String flag) {
        Page page = LayuiPageFactory.defaultPage();

        return this.baseMapper.list(page, condition,dm,tel,month,status,username,ddName,flag);
    }
    public List<BtyArchives> dmList(String username,String ddName,String phone) {
        return this.baseMapper.dmList(username,ddName,phone);
    }
}
